@extends('layouts.default')


@section('title','用户详情')


@section('content')
    <div class="row">
        <div class="offset-md-2 col-md-8">
            <div class="col-md-12">
                <div class="offset-md-2 col-md-8">
                    <div class="card">

                        <h5 class="card-header d-flex justify-content-center align-items-center">
                            用户列表
                        </h5>

                        <div class="card-body">
                            <div class="list-group">
                                @foreach($users as $user)
                                    <div class="list-group-item d-flex justify-content-between">
                                        {{$user->name}}

                                        <button class="btn btn-danger btn-sm" style="width: max-content">删除</button>
                                    </div>
                                @endforeach
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
